package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by lyli on 2017/10/10.
 */

public class OrderDetailModel {


    /**
     * success : 1
     * data : {"id":"52767","sn":"C2017110619455791066","status":"created","title":"非统考地区公共基础专属课程","targetType":"book","targetId":"179","amount":"39.90","totalPrice":"39.90","isGift":"0","giftTo":"","discountId":"0","discount":"10.00","token":"","refundId":"0","userId":"1","coupon":"","couponDiscount":"0.00","payment":"alipay","coinAmount":"0.00","coinRate":"1.00","priceType":"RMB","bank":"","paidTime":"0","cashSn":"","note":"","data":"","createdTime":"1509968757","addressid":"827","qqqun":"qq群421234911","kuaididanhao":"","gongsi":"","largePicture":"http://www.iweishi.cn/files/default/2017/04-02/1208546dca47550404.jpg","price":"39.90","studentNum":"190","maxStudentNum":"500","new_createdTime":"2017-11-06 19:45:57","address":[{"address_id":"827","user_id":"1","user_name":"张允治","province":"山东省","city":"烟台市","district":"芝罘区","address":"烟台服务外包基地 212","mobile":"13406540885"}],"ifaddress":"1","ifwuliu":"0","inviteMoney":"","edit":[]}
     */

    private int success;
    private DataBean data;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 52767
         * sn : C2017110619455791066
         * status : created
         * title : 非统考地区公共基础专属课程
         * targetType : book
         * targetId : 179
         * amount : 39.90
         * totalPrice : 39.90
         * isGift : 0
         * giftTo :
         * discountId : 0
         * discount : 10.00
         * token :
         * refundId : 0
         * userId : 1
         * coupon :
         * couponDiscount : 0.00
         * payment : alipay
         * coinAmount : 0.00
         * coinRate : 1.00
         * priceType : RMB
         * bank :
         * paidTime : 0
         * cashSn :
         * note :
         * data :
         * createdTime : 1509968757
         * addressid : 827
         * qqqun : qq群421234911
         * kuaididanhao :
         * gongsi :
         * largePicture : http://www.iweishi.cn/files/default/2017/04-02/1208546dca47550404.jpg
         * price : 39.90
         * studentNum : 190
         * maxStudentNum : 500
         * new_createdTime : 2017-11-06 19:45:57
         * address : [{"address_id":"827","user_id":"1","user_name":"张允治","province":"山东省","city":"烟台市","district":"芝罘区","address":"烟台服务外包基地 212","mobile":"13406540885"}]
         * ifaddress : 1
         * ifwuliu : 0
         * inviteMoney :
         * edit : []
         */

        private String id;
        private String sn;
        private String status;
        private String title;
        private String targetType;
        private String targetId;
        private String amount;
        private String totalPrice;
        private String isGift;
        private String giftTo;
        private String discountId;
        private String discount;
        private String token;
        private String refundId;
        private String userId;
        private String coupon;
        private String couponDiscount;
        private String payment;
        private String coinAmount;
        private String coinRate;
        private String priceType;
        private String bank;
        private String paidTime;
        private String cashSn;
        private String note;
        private String data;
        private String createdTime;
        private String addressid;
        private String qqqun;
        private String kuaididanhao;
        private String gongsi;
        private String largePicture;
        private String price;
        private String studentNum;
        private String maxStudentNum;
        private String new_createdTime;
        private String ifaddress;
        private String ifwuliu;
        private String inviteMoney;
        private List<AddressBean> address;
        private List<?> edit;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTargetType() {
            return targetType;
        }

        public void setTargetType(String targetType) {
            this.targetType = targetType;
        }

        public String getTargetId() {
            return targetId;
        }

        public void setTargetId(String targetId) {
            this.targetId = targetId;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(String totalPrice) {
            this.totalPrice = totalPrice;
        }

        public String getIsGift() {
            return isGift;
        }

        public void setIsGift(String isGift) {
            this.isGift = isGift;
        }

        public String getGiftTo() {
            return giftTo;
        }

        public void setGiftTo(String giftTo) {
            this.giftTo = giftTo;
        }

        public String getDiscountId() {
            return discountId;
        }

        public void setDiscountId(String discountId) {
            this.discountId = discountId;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getRefundId() {
            return refundId;
        }

        public void setRefundId(String refundId) {
            this.refundId = refundId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getCoupon() {
            return coupon;
        }

        public void setCoupon(String coupon) {
            this.coupon = coupon;
        }

        public String getCouponDiscount() {
            return couponDiscount;
        }

        public void setCouponDiscount(String couponDiscount) {
            this.couponDiscount = couponDiscount;
        }

        public String getPayment() {
            return payment;
        }

        public void setPayment(String payment) {
            this.payment = payment;
        }

        public String getCoinAmount() {
            return coinAmount;
        }

        public void setCoinAmount(String coinAmount) {
            this.coinAmount = coinAmount;
        }

        public String getCoinRate() {
            return coinRate;
        }

        public void setCoinRate(String coinRate) {
            this.coinRate = coinRate;
        }

        public String getPriceType() {
            return priceType;
        }

        public void setPriceType(String priceType) {
            this.priceType = priceType;
        }

        public String getBank() {
            return bank;
        }

        public void setBank(String bank) {
            this.bank = bank;
        }

        public String getPaidTime() {
            return paidTime;
        }

        public void setPaidTime(String paidTime) {
            this.paidTime = paidTime;
        }

        public String getCashSn() {
            return cashSn;
        }

        public void setCashSn(String cashSn) {
            this.cashSn = cashSn;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getData() {
            return data;
        }

        public void setData(String data) {
            this.data = data;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getAddressid() {
            return addressid;
        }

        public void setAddressid(String addressid) {
            this.addressid = addressid;
        }

        public String getQqqun() {
            return qqqun;
        }

        public void setQqqun(String qqqun) {
            this.qqqun = qqqun;
        }

        public String getKuaididanhao() {
            return kuaididanhao;
        }

        public void setKuaididanhao(String kuaididanhao) {
            this.kuaididanhao = kuaididanhao;
        }

        public String getGongsi() {
            return gongsi;
        }

        public void setGongsi(String gongsi) {
            this.gongsi = gongsi;
        }

        public String getLargePicture() {
            return largePicture;
        }

        public void setLargePicture(String largePicture) {
            this.largePicture = largePicture;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getStudentNum() {
            return studentNum;
        }

        public void setStudentNum(String studentNum) {
            this.studentNum = studentNum;
        }

        public String getMaxStudentNum() {
            return maxStudentNum;
        }

        public void setMaxStudentNum(String maxStudentNum) {
            this.maxStudentNum = maxStudentNum;
        }

        public String getNew_createdTime() {
            return new_createdTime;
        }

        public void setNew_createdTime(String new_createdTime) {
            this.new_createdTime = new_createdTime;
        }

        public String getIfaddress() {
            return ifaddress;
        }

        public void setIfaddress(String ifaddress) {
            this.ifaddress = ifaddress;
        }

        public String getIfwuliu() {
            return ifwuliu;
        }

        public void setIfwuliu(String ifwuliu) {
            this.ifwuliu = ifwuliu;
        }

        public String getInviteMoney() {
            return inviteMoney;
        }

        public void setInviteMoney(String inviteMoney) {
            this.inviteMoney = inviteMoney;
        }

        public List<AddressBean> getAddress() {
            return address;
        }

        public void setAddress(List<AddressBean> address) {
            this.address = address;
        }

        public List<?> getEdit() {
            return edit;
        }

        public void setEdit(List<?> edit) {
            this.edit = edit;
        }

        public static class AddressBean {
            /**
             * address_id : 827
             * user_id : 1
             * user_name : 张允治
             * province : 山东省
             * city : 烟台市
             * district : 芝罘区
             * address : 烟台服务外包基地 212
             * mobile : 13406540885
             */

            private String address_id;
            private String user_id;
            private String user_name;
            private String province;
            private String city;
            private String district;
            private String address;
            private String mobile;

            public String getAddress_id() {
                return address_id;
            }

            public void setAddress_id(String address_id) {
                this.address_id = address_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }
        }
    }
}
